package com.lsu.command.homework;

import java.io.File;

/**
 * 创建文件夹的类
 *
 * @Author wang suo
 * @Date 2020/10/20 0020 19:07
 * @Version 1.0
 */
class MakeDir {
    boolean createDir(String path) {
        File file = new File(path);
        return file.mkdirs();
    }

    boolean deleteDir(String path) {
        File file = new File(path);
        return file.delete();
    }
}
